Motion.SetAxisDigitalOutput 方法

为索引所指示的输出设定一个 bool 值。

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsCommandStatus SetAxisDigitalOutput(
       int Index,
       int OutputNumber,
       bool Value,
       McExecutionMode ExecutionMode
)
Public Function SetAxisDigitalOutput(
       Index As Integer,
       OutputNumber As Integer,
       Value As Boolean,
       ExecutionMode As McExecutionMode
) As KsCommandStatus

参数

Index [in]

型别:int

输出讯号来源(轴)的索引。索引以 0 为起始;别名将影响此参数。

 

OutputNumber [in]

型别:int

选择一个输出,范围为 0-31。

 

Value [in]

型别:bool

选定输出的值。

 

ExecutionMode [in]

型别:McExecutionMode

定义方法的时间顺序。

回传值

型别:KsCommandStatus

回传 KsCommandStatus 类别。

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间